#include<iostream>
#include<string>
#include<vector>
using namespace std;
string table[10] = { "zero", "one", "two", "three", "four",
"five", "six", "seven", "eight", "nine" };
string s;
vector<string>res;
int main()
{
	cin >> s;
	if (s == "0") {
		cout << table[0] << endl;
		return 0;
	}
	int ans = 0;
	for (int i = 0; i < s.size(); i++) {
		ans += s[i] - '0';
	}
	//cout << ans << endl;
	while (ans) {
		int k = ans % 10;
		res.push_back(table[k]);
		ans /= 10;
	}
	bool flag = 0;
	for (int i = res.size() - 1; i >= 0; i--) {
		if (!flag) {
			cout << res[i];
			flag = 1;
		}
		else {
			cout << " " << res[i];
		}
	}
	return 0;
}